import Vue from "vue";
import Vuex from "vuex";
Vue.use(Vuex);
import actions from "./actions";
import mutations from "./mutations";
import getters from "./getters";
// 2.创建对象
const state = {
  cartList: [],
  collectList:[],
  collectNum:0
};
export default new Vuex.Store({
  actions,
  mutations,
  getters,

  state,
});
